package userManagebl;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;

public class Fstream {
	
	public ArrayList<String> readFile(String fLoction){
		File f=new File(fLoction);
		ArrayList<String> list = new ArrayList<String>();
		try{
			BufferedReader br1=new BufferedReader(new FileReader(f));
			String line;
			
			while((line=br1.readLine())!=null){
				list.add(line);
			}
			br1.close();
		}catch(IOException ex){
			ex.printStackTrace();
		}
		
		return list;
	}
	
}
